﻿
@{
    ViewBag.Title = "小路影视";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
    int UpPage = ViewBag.PageNum - 1;
    int DownPage = ViewBag.PageNum + 1;
    int LastPage=ViewBag.Count/15 + ViewBag.Count%15>0?1:0;
}
@section head{
    <link rel="stylesheet" href="~/Content/Display/Index.css" media="all" />
    <link href="~/Content/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet">
    @*<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">*@
}
    <div class="head">
        <div class="NavHead">
            <a href="/">小路影视</a>
        </div>
        <div class="NavHead">
            <a href="/Display/Type_DYView?Page=1">
                <i class="fa fa-youtube-play" style="color:hotpink;font-size:1.5rem;margin-right:5px;" ></i>电影
            </a>
        </div>
        <div class="NavHead">
            <a href="/Display/Type_JJView?Page=1">
                <i class="fa fa-youtube-play" style="color:hotpink;font-size:1.5rem;margin-right:5px;"></i>剧集
            </a>
        </div>
        <div class="NavHead">
            <a href="/Display/Type_ZYView?Page=1" style="color:hotpink">
                <i class="fa fa-youtube-play" style="color:hotpink;font-size:1.5rem;margin-right:5px;"></i>综艺
            </a>
        </div>

    </div>
<div class="srh">
    <form action="/Display/search" method="post" class="sos">
        <div class="t">
            <input type="text" onblur="if(this.value==''){ this.value='请输入关键词';}" onfocus="if(this.value=='请输入关键词'){this.value='';}" value="请输入关键词" autocomplete="off" name="wd">
        </div>
        <div class="b">
            <button type="submit" name="search"><i class="fa fa-search"></i></button>
        </div>
    </form>
</div>

<div class="tbox_m">
    @for (int i = 0; i < ViewBag.SubjectList.Count; i++)
    {
        <div class="vbox" onclick="javascript:window.location.href='/Display/DetailView?SubjectId=@ViewBag.SubjectList[i]["SubjectId"]'">
            <div class="vbox_t" style="background-image: url(@ViewBag.SubjectList[i]["ImageUrl"]);">
                <span>高清电影</span>
            </div>
            <h4>@ViewBag.SubjectList[i]["Title"]</h4>
        </div>
    }
</div>
<div class="menu">

    @if (ViewBag.PageNum != 1)
    {
        <a href="/Display/Type_ZYView?Page=1" class="pagelink_a">首页</a>
        <a href="/Display/Type_ZYView?Page=@UpPage" class="pagelink_a" rel="prev">上一页</a>
}
    else
    {
        <em>首页</em>
        <em>上一页</em>
    }
    @if (ViewBag.PageNum * 15 < ViewBag.Count)
    {
        <a href="/Display/Type_ZYView?Page=@DownPage" class="pagelink_a" rel="next">下一页</a>
        <a href="/Display/Type_ZYView?Page=@LastPage" class="pagelink_a">尾页</a>
    }
    else
    {
        <em>下一页</em>
        <em>尾页</em>
    }


</div>
<div class="foot">
    <p><a href="/">返回首页</a><span>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</span><a href="javascript:scroll(0, 0)">返回顶部</a></p>
    <p>Copyright © 2020 最新免费福利电影 - 五里店姚明作品</p>
</div>

<script type="text/javascript">
    //document.getElementById("myif22").onload = function () {
    //    alert("加载完成");
    //    document.domain = "http://www.baidu.com";
    //    var con = $("#myif").attr("src");
    //    alert(con);
    //    //var tt = $("#myif22").contents().find("#player_swf").attr("src");
    //    //alert(tt);
    //}
    var docElement = document.documentElement;
    docElement.style.fontSize = 20 * (docElement.clientWidth / 320);
    var text = "架构为.NET MVC 后台开线程利用FFmpeg切割影片后，前台调用\n" +
        "但是影视资源太占硬盘又占带宽\n" +
        "所以影视资源大部分全部来自我对其他盗链影视网站的破解\n本网站没什么研究的，不用看这些接口了";
    console.log(text);


</script>
